Pop

data class Pop(val to: UIViewController? = null, val animated: Boolean = true, val completion: () -> Unit? = null) : NavigationSpec

Pops the viewController on the parents UINavigationController.

Parameters

to

Optional UIViewController to pop to. If not provided the viewcontroller on top is popped.

animated

Specifies whether transition should be animated

completion

Optional function to call when pop has completed

Constructors

Link copied to clipboard
constructor(to: UIViewController? = null, animated: Boolean = true, completion: () -> Unit? = null)

Properties

Link copied to clipboard
Link copied to clipboard
val completion: () -> Unit?
Link copied to clipboard
val to: UIViewController?